package model;

public class SubjectMsg {
    private  Subject subject;
    private  User user;

    public SubjectMsg(){

    }
    public Subject getSubject() {
        return subject;
    }

    public void setSubject(Subject subject) {
        this.subject = subject;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    @Override
    public String toString() {
        return "SubjectMsg{" +
                "subject=" + subject +
                ", user=" + user +
                '}';
    }
}
